package com.lcgs.manage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lcgs.common.annotation.Excel;
import com.lcgs.common.core.domain.BaseEntity;

/**
 * 商品分类对象 tb_category
 * 
 * @author lc
 * @date 2025-09-17
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品分类id */
    @Excel(name = "商品分类id")
    private Long categoryId;

    /** 商品分类名称 */
    @Excel(name = "商品分类名称")
    private String name;

    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryId", getCategoryId())
            .append("name", getName())
            .toString();
    }
}
